//
//  TimeUtil.m
//  gdemm
//
//  Created by 乔明超 on 16/5/26.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import "TimeUtil.h"

@implementation TimeUtil
+ (NSString *)currentTime{
    NSDateFormatter *formatter = [[NSDateFormatter alloc]init];
    [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
    NSString *currentTime = [formatter stringFromDate:[NSDate date]];
    return currentTime;
}
@end
